home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 …SCII & the Runetime Code / ADC Developer CD (1992-07) (''Butch ASCII And The Runtime Code'')_iso / Dev.CD 199207.iso / Developer Essentials / MPW Interfaces & Libraries / CIncludes / SegLoad.h < prev    next >
Encoding:
C/C++ Source or Header  |  1992-01-29  |  1.1 KB  |  57 lines  |  [TEXT/MPS ]

  1.  
  2. /************************************************************
  3.  
  4. Created: Sunday, September 15, 1991 at 8:42 PM
  5.  SegLoad.h
  6.  C Interface to the Macintosh Libraries
  7.  
  8.  
  9.   Copyright Apple Computer, Inc. 1985-1991
  10.   All rights reserved
  11.  
  12. ************************************************************/
  13.  
  14.  
  15. #ifndef __SEGLOAD__
  16. #define __SEGLOAD__
  17.  
  18. #ifndef __TYPES__
  19. #include <Types.h>
  20. #endif
  21.  
  22.  
  23. enum {
  24.  
  25.  appOpen = 0,        /*Open the Document (s)*/
  26.  appPrint = 1        /*Print the Document (s)*/
  27. };
  28.  
  29. struct AppFile {
  30.  short vRefNum;
  31.  OSType fType;
  32.  short versNum;        /*versNum in high byte*/
  33.  Str255 fName;
  34. };
  35.  
  36. typedef struct AppFile AppFile;
  37.  
  38.  
  39. #ifdef __cplusplus
  40. extern "C" {
  41. #endif
  42. pascal void UnloadSeg(void *routineAddr)
  43.  = 0xA9F1; 
  44. pascal void ExitToShell(void)
  45.  = 0xA9F4; 
  46. pascal void GetAppParms(Str255 apName,short *apRefNum,Handle *apParam)
  47.  = 0xA9F5; 
  48. pascal void CountAppFiles(short *message,short *count); 
  49. pascal void GetAppFiles(short index,AppFile *theFile); 
  50. pascal void ClrAppFiles(short index); 
  51. void getappparms(char *apName,short *apRefNum,Handle *apParam); 
  52. #ifdef __cplusplus
  53. }
  54. #endif
  55.  
  56. #endif
  57.